package com.hiv.common.response;

import com.hiv.mapper.domain.Permission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("权限")
public class PermissionVO implements Serializable {
    @ApiModelProperty("页面权限")
    private Permission permission;
    @ApiModelProperty("页面下按钮权限")
    private List<Permission> childs;
}
